﻿using System;
using Microsoft.WindowsAzure.StorageClient;

namespace AzureTableStorage
{
    public class RoleEntity : TableServiceEntity
    {
        public RoleEntity(string partitionKey, string rowKey) : base(partitionKey, rowKey)
        {
        }

        public RoleEntity()
            : this(Guid.NewGuid().ToString(), String.Empty)
        {
        }

        public string UserName { get; set; }
        public string RoleName { get; set; }
        public string ApplicationName { get; set; }
    }
}
